package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description NursingProjectMapper
 * @Author hu hanSan
 * @Date 2024-09-06
 */
@Mapper
public interface NursingProjectMapper {
    Page<NursingProjectVo> selectByPage(@Param("name") String name, @Param("status") Integer status);

    void insertNursingProject(NursingProject nursingProject);

    NursingProject selectById(Long id);

    void updateNursingProject(NursingProject nursingProject);

    void update(Long id, Integer status);

    void deleteNursingProject(Long id);

    List<NursingProjectVo> selectAll();


}
